<form class="form-horizontal form-validate form-modal" method="post" action="{:url('check')}">
    <div class="modal-dialog image-list">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">升级审核详情</h4>
            </div>
            <div class="modal-body">

                <div class="form-group">
                        <label class="col-sm-3 control-label">用户ID：</label>
                        <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                            {$row.user_id}
                        </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">手机号：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$row.mobile}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">申请时间：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$row.create_time}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">当前职位：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$row.now_proxy}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">升级职位：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$row.want_proxy}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">升级方式：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$type[$row.type]}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">升级前上级ID：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$row.now_pid}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">升级后上级ID：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        {$row.want_pid}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">电子合同：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        <a href="{$row.contract}" target = "_blank" title="查看" class="fa m-xs">查看</a>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">上级电子合同：</label>
                    <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                        <a href="{$row.electron_contract}" target = "_blank" title="查看" class="fa m-xs">查看</a>
                    </div>
                </div>
                {eq name="row.type" value="2"}
                    <div class="form-group">
                        <label class="col-sm-3 control-label">保证金凭证：</label>
                        <div class="col-sm-9 " style="height: 30px;line-height: 30px">
                            <img src="{$row.bond_voucher}" style="width: 300px;height: 200px;">
                        </div>
                    </div>
                {/eq}

            </div>
            <div class="modal-footer">
                <input type="hidden" name="id" value="{$row.id|intval}"/>
                {eq name="row.status" value="0"}
                    <button type="button" class="btn btn-primary" onclick="examine({$row.id})" data-loading-text="审核中...">审核</button>
                {/eq}
<!--                {eq name="row.status" value="0"}-->
<!--                    <button type="button" class="btn btn-primary operatbtn" data-type='refuse'>拒绝申请</button>-->
<!--                    <button type="button" class="btn btn-primary operatbtn" data-type='ok'>已受理</button>-->
<!--                {/eq}-->
<!--                <button type="submit" class="btn btn-primary postBtn" data-loading-text="保存中..." disabled>保存</button>-->
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</form>
